package com.boot.service.impl;

import com.boot.entity.Dept;
import com.boot.mapper.DeptMapper;
import com.boot.service.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DeptServiceImpl implements DeptService {

    @Resource
    private DeptMapper deptMapper;


    @Override
    public List<Dept> findDept() {
        return deptMapper.findDept();
    }
}
